<?php

namespace App\Observers;
use App\Models\Movie;
use App\Jobs\SyncOneMovieToES;
class MovieObserver
{
    public function saved(Movie $movie)
    {
        dispatch(new SyncOneMovieToES($movie));
    }
}
